|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.cebis.moccabox.domain.AbstractConceptualObject
de.cebis.moccapart.calendar.domain.CalendarComponent
public class CalendarComponent
Object representing an CalendarComponent.
The CalendarComponent-object encapsulates different methods, to
store and retrieve the different attributes of a calendar component.
The CalendarComponent does not necessarily have to represent an
object stored in the database, but can be instantiated with an
ComponentSource-object as well.
| Field Summary | |
|---|---|
static int |
NO_RIGHTS
Keine Rechte, den Eintrag zu sehen. |
static int |
NO_STATUS
Standard status for the component which signals that no status is given yet. |
static int |
OPAQUE
The CalendarComponent is visible for others. |
static java.lang.String |
PROP_CALENDAR
|
static java.lang.String |
PROP_CALENDARCOMPONENTCATEGORY
|
static java.lang.String |
PROP_CLASSIFICATION
|
static java.lang.String |
PROP_COMMENT
|
static java.lang.String |
PROP_DESCRIPTION
|
static java.lang.String |
PROP_DURATION
|
static java.lang.String |
PROP_EDITABLE
|
static java.lang.String |
PROP_LOCATION
|
static java.lang.String |
PROP_MOVEABLE
|
static java.lang.String |
PROP_ORGANISER
|
static java.lang.String |
PROP_RELATEDCONCEPT
|
static java.lang.String |
PROP_SEARCHFIELD
|
static java.lang.String |
PROP_START
|
static java.lang.String |
PROP_STARTTIME
|
static java.lang.String |
PROP_STATUS
|
static java.lang.String |
PROP_SUMMARY
|
static java.lang.String |
PROP_TRANSPARENCY
|
static int |
READ
Das Recht, die Attribute eines CalendarComponent-Objektes zu lesen. |
static int |
STATUS_CANCELLED
The CalendarComponent has been deleted |
static int |
STATUS_CONFIRMED
The CalendarComponent has been confirmed |
static int |
STATUS_TENTATIVE
The CalendarComponent is still tentative |
static int |
TIME_ONLY
Das Recht, den belegten Zeitraum eines CalendarComponent-Objektes zu sehen. |
static int |
TRANSPARENT
The CalendarComponent is not visible for others. |
static int |
WRITE
Das Recht, die Attribute eines CalendarComponent-Objektes zu ändern. |
| Fields inherited from interface de.cebis.moccabox.domain.IPersistentConcept |
|---|
PROP_CREATION_DATE, PROP_ID, PROP_LAST_EDIT_DATE, PROP_LAST_EDIT_USER |
| Constructor Summary | |
|---|---|
CalendarComponent()
|
|
CalendarComponent(java.lang.Long _iD)
Constructor for primary key |
|
| Method Summary | |
|---|---|
Calendar |
getCalendar()
|
CalendarComponentCategory |
getCategory()
|
java.lang.String |
getClassification()
Returns the classification of the CalendarComponent. |
java.lang.String |
getComment()
Returns a comment for the CalendarComponent. |
java.lang.String |
getDescription()
Returns a detailled description of the CalendarComponent. |
java.lang.String |
getDuration()
Returns the duration of the CalendarComponent. |
java.lang.String |
getLocation()
Returns the location where the CalendarComponent takes place. |
IPersistentConcept |
getOrganiser()
|
IPersistentConcept |
getRelatedConcept()
|
java.lang.String |
getSearchField()
|
java.util.Date |
getStart()
Returns the starting date of the CalendarComponent. |
java.lang.String |
getStartText()
Returns a text formatted date. |
java.lang.String |
getStarttime()
|
java.lang.String |
getStartTime()
Returns the starting time of the CalendarComponent. |
int |
getStatus()
Returns the specific status the CalendarComponent is in. |
java.lang.String |
getSummary()
Returns the short title of the entry. |
int |
getTransp()
Returns the specific transparency of the CalendarComponent. |
int |
getTransparency()
|
boolean |
isEditable()
Returns if the CalendarComponent is editable for the current user. |
boolean |
isMoveable()
Returns if the CalendarComponent is moveable for the current user. |
void |
setCalendar(Calendar calendar)
|
void |
setCategory(CalendarComponentCategory category)
|
void |
setClassification(java.lang.String classification)
Sets the classification of the CalendarComponent. |
void |
setComment(java.lang.String comment)
Sets a comment for the CalendarComponent. |
void |
setDescription(java.lang.String description)
Sets a detailled description of the CalendarComponent. |
void |
setDuration(java.lang.String duration)
Sets the duration of the CalendarComponent. |
void |
setEditable(boolean editable)
Sets if the CalendarComponent is editable for the current user. |
void |
setLocation(java.lang.String location)
Sets the location where the CalendarComponent takes place. |
void |
setMoveable(boolean moveable)
Sets if the CalendarComponent is moveable for the current user. |
void |
setOrganiser(IPersistentConcept organiser)
|
void |
setRelatedConcept(IPersistentConcept relatedConcept)
|
void |
setSearchField(java.lang.String searchField)
|
void |
setStart(java.util.Date start)
Sets the starting date and time of the CalendarComponent. |
void |
setStarttime(java.lang.String startTime)
|
void |
setStartTime(java.lang.String startTime)
Sets the starting time of the CalendarComponent. |
void |
setStatus(int status)
Sets the specific status the CalendarComponent is in. |
void |
setSummary(java.lang.String title)
Sets the short title of the entry. |
void |
setTransp(int transparency)
Sets the specific transparency of the CalendarComponent. |
void |
setTransparency(int transparency)
|
| Methods inherited from class de.cebis.moccabox.domain.AbstractConceptualObject |
|---|
getCreationDate, getId, getLastEditDate, getVersion, setCreationDate, setId, setLastEditDate, setVersion |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TIME_ONLY
public static final int READ
public static final int WRITE
public static final int NO_RIGHTS
public static final int TRANSPARENT
CalendarComponent is not visible for others.
public static final int OPAQUE
CalendarComponent is visible for others.
public static final int STATUS_CONFIRMED
CalendarComponent has been confirmed
public static final int STATUS_TENTATIVE
CalendarComponent is still tentative
public static final int STATUS_CANCELLED
CalendarComponent has been deleted
public static final int NO_STATUS
public static final java.lang.String PROP_CALENDAR
public static final java.lang.String PROP_CALENDARCOMPONENTCATEGORY
public static final java.lang.String PROP_ORGANISER
public static final java.lang.String PROP_RELATEDCONCEPT
public static final java.lang.String PROP_CLASSIFICATION
public static final java.lang.String PROP_SUMMARY
public static final java.lang.String PROP_DESCRIPTION
public static final java.lang.String PROP_COMMENT
public static final java.lang.String PROP_SEARCHFIELD
public static final java.lang.String PROP_STATUS
public static final java.lang.String PROP_EDITABLE
public static final java.lang.String PROP_MOVEABLE
public static final java.lang.String PROP_START
public static final java.lang.String PROP_STARTTIME
public static final java.lang.String PROP_DURATION
public static final java.lang.String PROP_TRANSPARENCY
public static final java.lang.String PROP_LOCATION
| Constructor Detail |
|---|
public CalendarComponent()
public CalendarComponent(java.lang.Long _iD)
| Method Detail |
|---|
public java.lang.String getSummary()
public void setSummary(java.lang.String title)
title - Short title of the Entry.public java.lang.String getClassification()
CalendarComponent.
CalendarComponent is PUBLIC / CONFIDENTIAL / PRIVATE.public void setClassification(java.lang.String classification)
CalendarComponent.
classification - CalendarComponent is PUBLIC / CONFIDENTIAL / PRIVATE.public java.lang.String getLocation()
CalendarComponent takes place.
public void setLocation(java.lang.String location)
CalendarComponent takes place.
location - Location where the event takes place.public java.lang.String getDescription()
CalendarComponent.
public void setDescription(java.lang.String description)
CalendarComponent.
description - Description of the event.public java.lang.String getComment()
CalendarComponent.
CalendarComponent´s comment.public void setComment(java.lang.String comment)
CalendarComponent.
comment - The CalendarComponent´s comment.public int getStatus()
CalendarComponent is in.
public void setStatus(int status)
CalendarComponent is in.
status - Status the entry is in.public int getTransp()
CalendarComponent.
public void setTransp(int transparency)
CalendarComponent.
transparency - OPAQUE if entry is visible for others than organizer.
Otherwise, TRANSPARENT must be set.public java.lang.String getDuration()
CalendarComponent.
Example: P1Y2M3DT4H30M12S means the duration of the enty is of
1 year, 2 months, 3 days, 4 hours, 30 minutes and 12 seconds.
CalendarComponent.public void setDuration(java.lang.String duration)
CalendarComponent.
Example: P1Y2M3DT4H30M12S means the duration of the enty is of
1 year, 2 months, 3 days, 4 hours, 30 minutes and 12 seconds.
duration - Duration of the CalendarComponent.public java.util.Date getStart()
CalendarComponent.
public java.lang.String getStartText()
public void setStart(java.util.Date start)
CalendarComponent.
start - Date and time that the entry starts.public java.lang.String getStartTime()
CalendarComponent.
public void setStartTime(java.lang.String startTime)
CalendarComponent.
startTime - Time that the entry starts.public boolean isEditable()
CalendarComponent is editable for the current user.
public void setEditable(boolean editable)
CalendarComponent is editable for the current user.
If entry is from a calendar with 'read-permission' only, the entry is not
editable.
editable - True, if the entry is editable. False, otherwise.public boolean isMoveable()
CalendarComponent is moveable for the current user.
public void setMoveable(boolean moveable)
CalendarComponent is moveable for the current user.
moveable - True, if the entry is moveable. False, otherwise.public void setSearchField(java.lang.String searchField)
public java.lang.String getSearchField()
public Calendar getCalendar()
public void setCalendar(Calendar calendar)
public CalendarComponentCategory getCategory()
public void setCategory(CalendarComponentCategory category)
public IPersistentConcept getOrganiser()
public void setOrganiser(IPersistentConcept organiser)
public IPersistentConcept getRelatedConcept()
public void setRelatedConcept(IPersistentConcept relatedConcept)
public java.lang.String getStarttime()
public void setStarttime(java.lang.String startTime)
public int getTransparency()
public void setTransparency(int transparency)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||